.. _EEex_GetActionbarButton: =================================== EEex_GetActionbarButton =================================== :: EEex_GetActionbarButton(buttonIndex) Retrieves the button type of a specific button on the actionbar **Parameters** * **buttonIndex** - the index of the button on the actionbar **Return** Returns the type of the button, see :ref:`Actionbar button types` for details .. _Get action bar button types: **Actionbar button types** +--------------------+------------------------------------+ | **Button Type ID** | **Button Type Notes** | +--------------------+------------------------------------+ | 0 | Left Arrow | +--------------------+------------------------------------+ | 1 | Right Arrow | +--------------------+------------------------------------+ | 2 | Bard Song | +--------------------+------------------------------------+ | 3 | Cast Spell | +--------------------+------------------------------------+ | 4 | Find Traps | +--------------------+------------------------------------+ | 5 | Talk | +--------------------+------------------------------------+ | 6 | Unknown / Blank | +--------------------+------------------------------------+ | 7 | Guard | +--------------------+------------------------------------+ | 8 | Attack | +--------------------+------------------------------------+ | 9 | Shape Change | +--------------------+------------------------------------+ | 10 | Special Abilities | +--------------------+------------------------------------+ | 11 | Stealth | +--------------------+------------------------------------+ | 12 | Thieving | +--------------------+------------------------------------+ | 13 | Turn Unded | +--------------------+------------------------------------+ | 14 | Use Item | +--------------------+------------------------------------+ | 15 | Stop | +--------------------+------------------------------------+ | 16 | Quick Formation - Rectangle | +--------------------+------------------------------------+ | 17 | Quick Formation - Defensive Wedge | +--------------------+------------------------------------+ | 18 | Quick Formation - T-Shape | +--------------------+------------------------------------+ | 19 | Quick Formation - Offsensive Wedge | +--------------------+------------------------------------+ | 20 | Quick Formation - Circle | +--------------------+------------------------------------+ | 21 | Quick Item 1 | +--------------------+------------------------------------+ | 22 | Quick Item 2 | +--------------------+------------------------------------+ | 23 | Quick Item 3 | +--------------------+------------------------------------+ | 24 | Quick Spell 1 | +--------------------+------------------------------------+ | 25 | Quick Spell 2 | +--------------------+------------------------------------+ | 26 | Quick Spell 3 | +--------------------+------------------------------------+ | 27 | Quick Weapon 1 | +--------------------+------------------------------------+ | 28 | Quick Weapon 2 | +--------------------+------------------------------------+ | 29 | Quick Weapon 3 | +--------------------+------------------------------------+ | 30 | Quick Weapon 4 | +--------------------+------------------------------------+ | 43 | Left Arrow | +--------------------+------------------------------------+ | 44 | Right Arrow | +--------------------+------------------------------------+ | 67 | **Crashes game - dont use** | +--------------------+------------------------------------+ | 100 | None | +--------------------+------------------------------------+ Note: other button types not listed may be available, but typically are used internally for spell buttons and other dynamic buttons for the game engine. **Example** :: btnType = EEex_GetActionbarButton(1) **See Also** :ref:`EEex_SetActionbarButton`